<!-- indexer::stop -->
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>

<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>

<?php if($this->message):?>
<p class="message"><?php echo $this->message; ?></p>
<?php endif; ?>
<?php if($this->tellafriend_mailthis):?>
<div class="form">

<form action="<?php echo $this->action; ?>" method="post">
<div class="formbody">
<input type="hidden" name="FORM_SUBMIT" value="tellafriend" />

<?php foreach ($this->fields as $objWidget): ?>
<div class="widget">
  <?php echo $objWidget->generateLabel(); ?> 
  <?php echo $objWidget->generateWithError(); ?> 
  <?php if ($objWidget->name == 'tellafriend_captcha') :?> 
  <?php echo " ".$objWidget->generateQuestion(); ?> 
  <?php endif; ?>
</div>
<?php endforeach; ?>
<div class="submit_container">
  <input type="submit" class="submit" value="<?php echo $this->submit; ?>" />
</div>
</div>
</form>

</div>
<?php endif; ?>
<?php if($this->addthis):?>
	<?php echo $this->addthis; ?>
<?php endif; ?>
</div>
<!-- indexer::continue -->

